package com.dz.lm.common.util;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class FileLoadUtil {

	private static InputStream in;
	private static Properties p;
	private static String perStoreUrl = "";
	static {
		try {
			in = FileLoadUtil.class.getClassLoader().getResourceAsStream("JPush.properties");
			p = new Properties();
			p.load(in);
			perStoreUrl = p.getProperty("PER_STORE_URL");
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
	public static String getPerStoreUrl() {
		return perStoreUrl;
	}
}
